#include "cvnetwork.h"

CVNetwork::CVNetwork()
{
    this->id = 0;
    this->name = "";
    this->url = "";
    this->type ="";
    this->status = "";
    this->userId = "";
    this->password = "";
}

void CVNetwork::setId(int id)
{
    this->id = id;
}

void CVNetwork::setName(const QString &name)
{
    this->name = name;
}

void CVNetwork::setUrl(const QString &url)
{
    this->url = url;
}

void CVNetwork::setType(const QString &type)
{
    this->type = type;
}

void CVNetwork::setStatus(const QString &status)
{
    this->status = status;
}

void CVNetwork::setUserId(const QString &userId)
{
    this->userId = userId;
}

void CVNetwork::setPassword(const QString &password)
{
    this->password = password;
}

int CVNetwork::getId()
{
    return this->id;
}

QString CVNetwork::getName()
{
    return this->name;
}

QString CVNetwork::getUrl()
{
    return this->url;
}

QString CVNetwork::getType()
{
    return this->type;
}

QString CVNetwork::getStatus()
{
    return this->status;
}

QString CVNetwork::getUserId()
{
    return this->userId;
}

QString CVNetwork::getPassword()
{
    return this->password;
}
